package com.xin.marcus.service;

import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Part;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface DownLoadExcelService {

    /**
     * 导出excel
     * @author xin.wang
     * @date 2023/10/25  11:26
     */
    void downLoadExcel(HttpServletRequest request, HttpServletResponse response) throws IOException;

    String uploadExcel(@RequestParam("file") Part part) throws IOException;
}
